home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 December
/
PCWorld_2007-12_cd.bin
/
domacnost a kancelar
/
autoit
/
autoit-v3-setup.exe
/
Examples
/
Helpfile
/
GUISwitch.au3
< prev
next >
Wrap
Text File
|
2007-09-08
|
507b
|
24 lines
#include <GUIConstants.au3>
$parent1= GUICreate("Parent1")
GUICtrlCreateTab(10,10)
$tabitem = GUICtrlCreateTabItem("tab1")
GUICtrlCreateTabItem("tab2")
GUICtrlCreateTabItem("")
$parent2= GUICreate("Parent2", -1, -1, 100, 100)
GUISwitch($parent2)
GUISetState()
Do
$msg=GUIGetMsg()
until $msg = $GUI_EVENT_CLOSE
GuiSwitch($parent1,$tabitem)
GUICtrlCreateButton("OK",50,50,50)
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW,$parent1)
Do
$msg=GUIGetMsg()
until $msg = $GUI_EVENT_CLOSE